<!DOCTYPE HTML>
<html xmlns:wb="http://open.weibo.com/wb">
	<head>
		</script>
		<script type="text/javascript" async="" src="style/js/conversion.js"></script>
		<script src="style/js/allmobilize.min.js" charset="utf-8" id="allmobilize"></script>
		<style type="text/css"></style>
		<meta content="no-siteapp" http-equiv="Cache-Control">
		<link media="handheld" rel="alternate">
		<!-- end 云适配 -->
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
		<title>收到的简历-东莞大学生兼职网站-最专业的企业端招聘平台</title>
		
		<!-- <div class="web_root"  style="display:none">http://www.lagou.com</div> -->
		<script type="text/javascript">
			var ctx = "http://www.lagou.com";
			console.log(1);
		</script>
		<link href="http://www.lagou.com/images/favicon.ico" rel="Shortcut Icon">
		<link href="style/css/style.css" type="text/css" rel="stylesheet">
		<link href="style/css/external.min.css" type="text/css" rel="stylesheet">
		<link href="style/css/popup.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" src="style/js/jquery.1.10.1.min.js"></script>
		<script src="style/js/jquery.lib.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="style/js/ajaxfileupload.js"></script>
		<script src="style/js/additional-methods.js" type="text/javascript"></script>
		<script src="style/js/template-web.js" type="text/javascript"></script>
		<script src="style/js/neturl.js" type="text/javascript"></script>
		<!--[if lte IE 8]>
    <script type="text/javascript" src="style/js/excanvas.js"></script>
<![endif]-->
		<script type="text/javascript">
			var youdao_conv_id = 271546;
		</script>
		<script src="style/js/conv.js" type="text/javascript"></script>
		<script src="style/js/ajaxCross.json" charset="UTF-8"></script>
	</head>
	<body>
		<div id="body">
			<div id="header">
				<div class="wrapper">
					<a href="index.html" class="logo" >
						<img src="style/images/logo.png" width="200" height="50" alt="东莞大学生兼职网站企业端" />
					</a>
					<ul id="navheader" class="reset">
						<li><a href="index.html">首页</a></li>
						<li><a href="myhome.html">我的公司</a></li>
						<li><a href="mList.html">我的职位</a></li>
						<li class="current"><a rel="nofollow" href="canInterviewResumes.html">应聘我的</a></li>
						<li><a rel="nofollow" href="create.html">发布职位</a></li>
					</ul>
					<dl class="collapsible_menu">
						<dt>
							
							<span><span id="uname"></span>&nbsp;</span>
							<span class="red dn" id="noticeDot-1"></span>
							<i></i>
						</dt>
						<dd><a href="mList.html">我发布的职位</a></dd>
						<dd><a href="canInterviewResumes.html">我收到的简历</a></dd>
						<dd class="btm"><a href="myhome.html">我的公司主页</a></dd>
						<dd class="logout" id="logout"><a rel="nofollow">退出</a></dd>
					</dl>
				</div>
			</div><!-- end #header -->
			<div id="container">
				<div class="sidebar">
					<a class="btn_create" href="create.html">发布新职位</a>
					<dl class="company_center_aside">
						<dt>我收到的简历</dt>
						<dd class="current">
							<a href="canInterviewResumes.html">待处理简历</a>
						</dd>
						<dd>
							<a href="passFilterResumes.html">已通过简历</a>
						</dd>
						<dd>
							<a href="haveRefuseResumes.html">不合适简历</a>
						</dd>
						<dd class="btm">
							<a href="cancelFilterResumes.html">已取消简历</a>
						</dd>
					</dl>
				</div><!-- end .sidebar -->
				<div class="content">
					<dl class="company_center_content">
						<dt>
							<h1>
								<em></em>
								待处理简历 <span id="apply_sum">（共0份）</span> </h1>
						</dt>
						<dd>
							<form action="canInterviewResumes.html" method="get" id="filterForm">
								<ul class="reset resumeLists">
									<div id="apply_list" class="apply_list"></div>
									<script type="apply_html/html" id="apply_tem">
										{{each apply_json.apply_data}}
											<li data-id="1686182" class="onlineResume">
												<div class="resumeShow">
													<a title="预览在线简历" target="_blank" class="resumeImg" href="preview.html?apply_id={{$value.applyJob.id}}">
														<img src="{{$value.user.photo}}">
													</a>
													<div class="resumeIntro">
														<h3 class="unread">
															<a target="_blank" title="{{$value.user.realName}}" href="preview.html?apply_id={{$value.applyJob.id}}">
																{{$value.user.realName}}的简历
															</a>
															<em></em>
														</h3>
														<span class="fr">投递时间：{{$value.applyJob.applyTime}}</span>
														<div>
															{{$value.user.realName}} / {{$value.user.sex_text}} /  {{$value.user.nature}}族 / {{$value.user.city}}<br>
															所读学校/毕业学校：{{$value.user.college}}
														</div>
														<div class="jdpublisher">
															<span>
																应聘职位：<a title="{{$value.applyJob.jobName}}" target="_blank" href="jobdetail.html?job_id={{$value.applyJob.jobId}}">{{$value.applyJob.jobName}}</a>
															</span>
														</div>
													</div>
													<div class="links">
														<a data-deliverid="1686182" data-name="jason" data-positionid="149594" data-email="888888888@qq.com" class="resume_notice"
														 href="javascript:setapply_status({{$value.applyJob.id}},1)">通过简历</a>
														<a data-deliverid="1686182" class="resume_refuse" href="javascript:setapply_status({{$value.applyJob.id}},2)">不合适</a>
														<a data-resumename="{{$value.user.realName}}的简历" data-positionname="随便写" data-deliverid="1686182" data-positionid="149594"
														 data-resumekey="1ccca806e13637f7b1a4560f80f08057" data-forwardcount="1" class="resume_forward" href="javascript:void(0)">
															转发
															<span>(1人)</span>
														</a>
													</div>
												</div>
												<div class="contactInfo">
													<span class="c9">电话：</span>{{$value.user.phone}} &nbsp;&nbsp;&nbsp;
													<span class="c9">邮箱：</span><a href="mailto:{{$value.user.email}}">{{$value.user.email}}</a>
												</div>
											</li>
										{{/each}}
									</script>
								</ul><!-- end .resumeLists -->
							</form>
						</dd>
					</dl><!-- end .company_center_content -->
				</div><!-- end .content -->

				<!------------------------------------- 弹窗lightbox ----------------------------------------->
				<div style="display:none;">
					<!--通知面试弹窗-->
					<div style="overflow:auto;" class="popup" id="noticeInterview">
						<form id="noticeInterviewForm">
							<table width="100%" class="f16">
								<tbody>
									<tr>
										<td width="20%" align="right" class="c9">收件人 </td>
										<td width="80%">
											<span class="c9" id="receiveEmail"></span>
											<input type="hidden" value="" name="email">
										</td>
									</tr>
									<tr>
										<td align="right"><span class="redstar">*</span>主题</td>
										<td>
											<input type="text" placeholder="公司：职位名称面试通知" name="subject">
										</td>
									</tr>
									<tr>
										<td align="right"><span class="redstar">*</span>面试时间</td>
										<td>
											<input type="text" id="datetimepicker" name="interTime" class="hasDatepicker">
										</td>
									</tr>
									<tr>
										<td align="right"><span class="redstar">*</span>面试地点</td>
										<td>
											<input type="text" name="interAdd">
										</td>
									</tr>
									<tr>
										<td align="right">联系人</td>
										<td>
											<input type="text" name="linkMan">
										</td>
									</tr>
									<tr>
										<td align="right"><span class="redstar">*</span>联系电话</td>
										<td>
											<input type="text" name="linkPhone">
										</td>
									</tr>
									<tr>
										<td valign="top" align="right">补充内容</td>
										<td>
											<textarea name="content"></textarea>
										</td>
									</tr>
									<tr>
										<td></td>
										<td>
											<input type="submit" value="发送" class="btn">
											<a class="emailPreview" href="javascript:;">预览</a>
										</td>
									</tr>
								</tbody>
							</table>
							<input type="hidden" value="" name="name">
							<input type="hidden" value="" name="positionName">
							<input type="hidden" value="" name="companyName">
							<input type="hidden" value="" name="deliverId">
						</form>
					</div>
					<!--/#noticeInterview-->

					<!--转发简历弹窗-->
					<div class="popup" id="forwardResume">
						<form id="forwardResumeForm">
							<table width="100%" class="f16">
								<tbody>
									<tr>
										<td width="20%" align="right">收件人</td>
										<td width="80%">
											<input type="text" placeholder="最多可添加两个邮箱，用“；”隔开" id="recipients" name="recipients">
											<span id="forwardResumeError" style="display:none" class="beError"></span>
										</td>
									</tr>
									<tr>
										<td align="right">主题</td>
										<td>
											<input type="text" value="" name="title">
										</td>
									</tr>
									<tr>
										<td valign="top" align="right">正文</td>
										<td>
											<textarea name="content"></textarea>
											<span style="display:none;" class="beError error"></span>
										</td>
									</tr>
									<tr>
										<td></td>
										<td>
											<input type="submit" value="发送" class="btn">
											<a class="emial_cancel" href="javascript:;">取消</a>
										</td>
									</tr>
								</tbody>
							</table>
							<input type="hidden" value="" name="resumeKey">
							<input type="hidden" value="" name="positionId">
							<input type="hidden" value="" name="deliverId">
						</form>
					</div>
					<!--/#forwardResume-->

					<!--转发简历成功弹窗-->
					<div class="popup" id="forwardResumeSuccess">
						<table width="100%" class="f16">
							<tbody>
								<tr>
									<td align="center" class="f16">简历已转发成功 </td>
								</tr>
								<tr>
									<td align="center">
										<input type="button" value="确认" class="btn">
									</td>
								</tr>
							</tbody>
						</table>
					</div>
					<!--/#forwardResumeSuccess-->

					<!--确认不合适弹窗-->
					<div style="height:400px;" class="popup" id="confirmRefuse">
						<form id="refuseMailForm">
							<table width="100%">
								<tbody>
									<tr>
										<td>
											<div class="refuse_icon">
												<h3>确认这份简历不合适吗？</h3>
												<span>确认后，系统将自动发送以下内容至用户邮箱</span>
											</div>
										</td>
									</tr>
									<tr>
										<td>
											<textarea name="content">非常荣幸收到您的简历，在我们仔细阅读您的简历之后，却不得不很遗憾的通知您：
您的简历与该职位的定位有些不匹配，因此无法进入面试。

但您的信息已录入我司人才储备库，当有合适您的职位开放时我们将第一时间联系您，希望在未来我们有机会成为一起拼搏的同事；
再次感谢您对我们的信任，祝您早日找到满意的工作。</textarea>
										</td>
									</tr>
									<tr>
										<td>
											<input type="submit" value="确认不合适" class="btn">
											<a class="emial_cancel" href="javascript:;">取消</a>
										</td>
									</tr>
								</tbody>
							</table>
							<input type="hidden" value="" name="deliverId">
						</form>
					</div>
					<!--/#confirmRefuse-->

					<!--拒绝email成功弹窗-->
					<div class="popup" id="refuseMailSuccess">
						<table width="100%" class="f16">
							<tbody>
								<tr>
									<td align="center" class="f16">
										不合适通知已发送成功<br>
										该简历已进入“不合适简历”列表
									</td>
								</tr>
								<tr>
									<td align="center">
										<input type="button" value="确认" class="btn">
									</td>
								</tr>
							</tbody>
						</table>
					</div>
					<!--/#refuseMailSuccess-->
				</div>
				<!------------------------------------- end ----------------------------------------->
				<script src="style/js/jquery.ui.datetimepicker.min.js" type="text/javascript"></script>
				<script src="style/js/received_resumes.min.js" type="text/javascript"></script>
				<script>
				</script>
				<div class="clear"></div>
				<input type="hidden" value="b4bc225f0d084ee5b8d045f9c98a49ff" id="resubmitToken">
				<a rel="nofollow" title="回到顶部" id="backtop"></a>
			</div><!-- end #container -->
		</div><!-- end #body -->
		<div id="footer">
			<div class="wrapper">
				<a rel="nofollow" target="_blank" href="about.html">联系我们</a>
				<a target="_blank" href="http://www.lagou.com/af/zhaopin.html">互联网公司导航</a>
				<a rel="nofollow" target="_blank" href="http://e.weibo.com/lagou720">我们的微博</a>
				<a rel="nofollow" href="javascript:void(0)" class="footer_qr">我们的微信<i></i></a>
				<div class="copyright">&copy;2019-2020 qiuxinxin <a href="http://www.baidu.com"
					 target="_blank">东莞理工学院城市学院备14023790号-2</a></div>
			</div>
		</div>

		<script src="style/js/core.min.js" type="text/javascript"></script>
		<script src="style/js/popup.min.js" type="text/javascript"></script>

		<!--  -->

		<script type="text/javascript">
			var company_id = "";
			$(document).ready(function() {
				company_id = getCookie('company_id');
				if(company_id == ''){
					window.location.href = "login.html";
				}
				var uname = getCookie('uname');
				$('#uname').text(uname);
				getapply_list();
			});

			function getapply_list() {
				$.ajax({ //传数据的方式
					url: ip_address + "/applyJob/companys/list",
					type: "post",
					data: {
						companyId: company_id,
						ajstatus: 0
					},
					success: function(result, request) { //传数据成功之后的操作   result是servlet传过来的数据  这个函数对result进行处理，让它显示在 输入框中
						console.log('返回了' + JSON.stringify(result))
						var status = result.status;
						if (status == 0) {
							var apply_data = result.data.records;
							$('#apply_sum').text("（共" + apply_data.length + "份）");
							var apply_json = {}
							for (var i in apply_data) {
								var college = ''
								var educationList = apply_data[i]['educationList'];
								for (var j in educationList) {
									college = educationList[j]['college'];
								}
								apply_data[i]["user"]["college"] = college;
								var sex_text = "";
								if (apply_data[i]['user']['sex'] == 1) {
									sex_text = "男"
								} else {
									sex_text = "女"
								}
								apply_data[i]['user']['sex_text'] = sex_text
							}
							apply_json['apply_data'] = apply_data
							var apply_html = template('apply_tem', {
								apply_json: apply_json
							})
							var apply_list = document.querySelector('#apply_list');
							apply_list.innerHTML = apply_html;
						} else {
							var msg = result.msg;
							alert(msg);
						}
					},
					error: function(Error) {
						console.log(Error);
					},
					complete: function(xhr, data) {
						console.log("complete");
					}
				});
			}

			function setapply_status(id, Status) {
				$.ajax({ //传数据的方式
					url: ip_address + "/applyJob/update",
					type: "post",
					data: {
						companyId: company_id,
						id: id,
						Status: Status
					},
					success: function(result, request) { //传数据成功之后的操作   result是servlet传过来的数据  这个函数对result进行处理，让它显示在 输入框中
						console.log('返回了' + JSON.stringify(result))
						var status = result.status;
						if (status == 0) {
							getapply_list();
						} else {
							var msg = result.msg;
							alert(msg);
						}
					},
					error: function(Error) {
						console.log(Error);
					},
					complete: function(xhr, data) {
						console.log("complete");
					}
				});
			}

			function getCookie(name) {
				var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
				if (arr = document.cookie.match(reg))
					return unescape(arr[2]);
				else
					return null;
			}
			$(function() {
				$('#noticeDot-1').hide();
				$('#noticeTip a.closeNT').click(function() {
					$(this).parent().hide();
				});
			});
			var index = Math.floor(Math.random() * 2);
			var ipArray = new Array('42.62.79.226', '42.62.79.227');
			var url = "ws://" + ipArray[index] + ":18080/wsServlet?code=314873";
			var CallCenter = {
				init: function(url) {
					var _websocket = new WebSocket(url);
					_websocket.onopen = function(evt) {
						console.log("Connected to WebSocket server.");
					};
					_websocket.onclose = function(evt) {
						console.log("Disconnected");
					};
					_websocket.onapply = function(evt) {
						//alert(evt.data);
						var notice = jQuery.parseJSON(evt.data);
						if (notice.status[0] == 0) {
							$('#noticeDot-0').hide();
							$('#noticeTip').hide();
							$('#noticeNo').text('').show().parent('a').attr('href', ctx + '/mycenter/delivery.html');
							$('#noticeNoPage').text('').show().parent('a').attr('href', ctx + '/mycenter/delivery.html');
						} else {
							$('#noticeDot-0').show();
							$('#noticeTip strong').text(notice.status[0]);
							$('#noticeTip').show();
							$('#noticeNo').text('(' + notice.status[0] + ')').show().parent('a').attr('href', ctx +
								'/mycenter/delivery.html');
							$('#noticeNoPage').text(' (' + notice.status[0] + ')').show().parent('a').attr('href', ctx +
								'/mycenter/delivery.html');
						}
						$('#noticeDot-1').hide();
					};
					_websocket.onerror = function(evt) {
						console.log('Error occured: ' + evt);
					};
				}
			};
			CallCenter.init(url);
		</script>

		<div id="cboxOverlay" style="display: none;"></div>
		<div id="colorbox" class="" role="dialog" tabindex="-1" style="display: none;">
			<div id="cboxWrapper">
				<div>
					<div id="cboxTopLeft" style="float: left;"></div>
					<div id="cboxTopCenter" style="float: left;"></div>
					<div id="cboxTopRight" style="float: left;"></div>
				</div>
				<div style="clear: left;">
					<div id="cboxMiddleLeft" style="float: left;"></div>
					<div id="cboxContent" style="float: left;">
						<div id="cboxTitle" style="float: left;"></div>
						<div id="cboxCurrent" style="float: left;"></div><button type="button" id="cboxPrevious"></button><button type="button"
						 id="cboxNext"></button><button id="cboxSlideshow"></button>
						<div id="cboxLoadingOverlay" style="float: left;"></div>
						<div id="cboxLoadingGraphic" style="float: left;"></div>
					</div>
					<div id="cboxMiddleRight" style="float: left;"></div>
				</div>
				<div style="clear: left;">
					<div id="cboxBottomLeft" style="float: left;"></div>
					<div id="cboxBottomCenter" style="float: left;"></div>
					<div id="cboxBottomRight" style="float: left;"></div>
				</div>
			</div>
			<div style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div>
		</div>
		<div class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" id="ui-datepicker-div"></div>
	</body>
</html>
